package com.huawei.hwCloudJs.service.locationapi;

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.util.Log;
import com.huawei.hwCloudJs.api.ILocDialog$DialogResult;

class DefaultPermissionDlg$2 implements OnClickListener {
    final /* synthetic */ ILocDialog$DialogResult a;
    final /* synthetic */ DefaultPermissionDlg b;

    DefaultPermissionDlg$2(DefaultPermissionDlg defaultPermissionDlg, ILocDialog$DialogResult iLocDialog$DialogResult) {
        this.b = defaultPermissionDlg;
        this.a = iLocDialog$DialogResult;
    }

    public void onClick(DialogInterface dialogInterface, int i) {
        Log.d("DefaultPermissionDlg", "NOTAllowUseLocatioListener onClick");
        if (DefaultPermissionDlg.a(this.b) != null) {
            DefaultPermissionDlg.a(this.b).dismiss();
            DefaultPermissionDlg.a(this.b, null);
        }
        this.a.onNeg();
    }
}
